package com.zenithmind.chat.temp;

/**
 * 临时结果码枚举 - 解决编译问题
 * 当common模块可用时，应该使用 com.zenithmind.common.result.ResultCode
 */
public enum ResultCode {
    
    SUCCESS(200, "成功"),
    FAIL(500, "失败"),
    PARAM_ERROR(400, "参数错误"),
    UNAUTHORIZED(401, "未授权"),
    FORBIDDEN(403, "禁止访问"),
    NOT_FOUND(404, "资源不存在");
    
    private final int code;
    private final String message;
    
    ResultCode(int code, String message) {
        this.code = code;
        this.message = message;
    }
    
    public int getCode() {
        return code;
    }
    
    public String getMessage() {
        return message;
    }
}
